package com.jingdianjichi.auth.domain.service;

import com.jingdianjichi.auth.domain.entity.AuthPermissionBO;
import com.jingdianjichi.auth.infra.basic.entity.AuthPermission;

import java.util.List;

/**
 * 权限领域服务
 */
public interface AuthPermissionDomainService {


    //新增权限
    Boolean add(AuthPermissionBO authPermissionBO);

    //更新权限信息
    Boolean update(AuthPermissionBO authPermissionBO);

    //删除权限
    Boolean delete(AuthPermissionBO authPermissionBO);

    //获取权限
    List<String> getPermission(String userName);
}
